import request from '@/utils/index.js'
import {id} from "element-plus/es/locale/index";

// 获取详情接口
export const reqCheckInfoAPI = () => {
    return request({
        url: `/member/order/pre`,
        method: 'get'
    })
}

// 提交订单接口
export const reqCreateOrderAPI = (data) => {
    return request({
        url: `/member/order`,
        method: 'post',
        data
    })
}